package com.luohh.treeroom;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
@ComponentScan(basePackages = {"com.luohh.treeroom"})
@EnableAutoConfiguration
public class TreeroomApplication {

    public static void main(String[] args) {
        SpringApplication.run(TreeroomApplication.class, args);
    }

}
